package com.king.hpeproject.constant;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum CommonConstant {
    ROLE_ROOT("root", "超级管理员角色"),

    TAR_PUBLIC("public", "公共"),
    TAR_PRIVATE("private", "私有"),

    UNKNOWN("unknown", "未知"),

    LOGIN_METHOD_EMAIL("email", "登录方式：邮箱"),

    EMAIL_TOKEN("ebt-%s", "邮箱绑定token"),
    SECOND_AUTH_TOKEN("sat-%s", "二次认证token"),

    HEADER_SECOND_AUTH_TOKEN("x-sa-token", "二次认证token"),
    HEADER_EMAIL_TOKEN("x-eb-token", "邮箱绑定token"),
    HEADER_TOKEN("token", "token"),
    ;

    private final String code;
    private final String desc;
}
